package com.zrrd.learn.chapter03;

/**
 * 宠物信息
 *
 * @author asus
 * @version 1.0
 * @date 2023/5/13 14:27
 */
public enum PetEnum {
    pet10001(10001,"大花","橘猫"),
    pet10002(10002,"小花","金渐层");
    private PetEnum(Integer id,String name,String type){
    this.id=id;
    this.name=name;
    this.type=type;
    }

/**
 * 编号
 *
 */
    private Integer id;

    private String name;

    private String type;
//私有转公共
    public Integer getId() {
        return this.id;
    }
    public String getName() {
        return this.name;
    }
    public String getType() {
        return this.type;
    }

}



